<template>
    <div class="no-resources-container">
      <div class="no-resources-content">
        <div class="no-resources-icon">
          <span class="material-icons">NO RESOURCE</span>
        </div>
        <div class="no-resources-message">
          <h2>暂无对应资源</h2>
          <p>当前没有找到您所需的资源，请稍后再试。</p>
        </div>
      </div>
    </div>
  </template>
  
  <script>
  export default {
    name: 'NoResources',
  };
  </script>
  
  <style scoped>
  /* Container for the entire component */
  .no-resources-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* background-color: #f7f7f7; */
    animation: fadeIn 2s ease;
  }
  
  /* Content Box */
  .no-resources-content {
    text-align: center;
    padding: 30px 50px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: scaleUp 0.5s ease;
  }
  
  /* Icon Style */
  .no-resources-icon {
    font-size: 60px;
    color: #ff6f61;
    animation: bounce 1.5s infinite;
  }
  
  /* Message Styling */
  .no-resources-message h2 {
    font-size: 24px;
    color: #333;
    margin-top: 15px;
    animation: slideInTop 1s ease;
  }
  
  .no-resources-message p {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
    animation: slideInBottom 1s ease;
  }
  
  /* Animations */
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  
  @keyframes scaleUp {
    0% {
      transform: scale(0.8);
    }
    100% {
      transform: scale(1);
    }
  }
  
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }
  
  @keyframes slideInTop {
    0% {
      transform: translateY(-20px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes slideInBottom {
    0% {
      transform: translateY(20px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  </style>
  